[INFO] cloning repository https://github.com/sksabir019/RUST-SwapPair
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sksabir019/RUST-SwapPair" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsksabir019%2FRUST-SwapPair", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsksabir019%2FRUST-SwapPair'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 58abd2f040045bab6053deb8b04cc1756136e413
[INFO] fixing sksabir019/RUST-SwapPair against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsksabir019%2FRUST-SwapPair" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sksabir019/RUST-SwapPair
[INFO] finished tweaking git repo https://github.com/sksabir019/RUST-SwapPair
[INFO] tweaked toml for git repo https://github.com/sksabir019/RUST-SwapPair written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sksabir019/RUST-SwapPair on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sksabir019/RUST-SwapPair already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3bb5b0d0dff4147ef4f28bdf30c7c0ec54ee8e92a6adf88e282e0f69a5a7b94c
[INFO] running `Command { std: "docker" "start" "3bb5b0d0dff4147ef4f28bdf30c7c0ec54ee8e92a6adf88e282e0f69a5a7b94c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3bb5b0d0dff4147ef4f28bdf30c7c0ec54ee8e92a6adf88e282e0f69a5a7b94c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3bb5b0d0dff4147ef4f28bdf30c7c0ec54ee8e92a6adf88e282e0f69a5a7b94c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3bb5b0d0dff4147ef4f28bdf30c7c0ec54ee8e92a6adf88e282e0f69a5a7b94c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking swapPair v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: return types are denoted using `->`
[INFO] [stdout]   --> src/main.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |    fn swap(self)=> Pair<U, T>{
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `->` instead
[INFO] [stdout]    |
[INFO] [stdout] 14 -    fn swap(self)=> Pair<U, T>{
[INFO] [stdout] 14 +    fn swap(self) -> Pair<U, T>{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `;`, `=`, `@`, or `|`, found `pair`
[INFO] [stdout]   --> src/main.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let swapped pair = pair.swap();
[INFO] [stdout]    |                 ^^^^ expected one of `:`, `;`, `=`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: return types are denoted using `->`
[INFO] [stdout]   --> src/main.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |    fn swap(self)=> Pair<U, T>{
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `->` instead
[INFO] [stdout]    |
[INFO] [stdout] 14 -    fn swap(self)=> Pair<U, T>{
[INFO] [stdout] 14 +    fn swap(self) -> Pair<U, T>{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `;`, `=`, `@`, or `|`, found `pair`
[INFO] [stdout]   --> src/main.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let swapped pair = pair.swap();
[INFO] [stdout]    |                 ^^^^ expected one of `:`, `;`, `=`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/main.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |    fn value1(&self) -> &T {
[INFO] [stdout]   |       ------           ^^ expected `&T`, found `()`
[INFO] [stdout]   |       |
[INFO] [stdout]   |       implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 9 |         &self.value1;
[INFO] [stdout]   |                     - help: remove this semicolon to return this value
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected reference `&T`
[INFO] [stdout]              found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:11:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |    fn value2(&self) -> &U {
[INFO] [stdout]    |       ------           ^^ expected `&U`, found `()`
[INFO] [stdout]    |       |
[INFO] [stdout]    |       implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 12 |         &self.value2;
[INFO] [stdout]    |                     - help: remove this semicolon to return this value
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&U`
[INFO] [stdout]               found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/main.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |    fn value1(&self) -> &T {
[INFO] [stdout]   |       ------           ^^ expected `&T`, found `()`
[INFO] [stdout]   |       |
[INFO] [stdout]   |       implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 9 |         &self.value1;
[INFO] [stdout]   |                     - help: remove this semicolon to return this value
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected reference `&T`
[INFO] [stdout]              found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:11:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |    fn value2(&self) -> &U {
[INFO] [stdout]    |       ------           ^^ expected `&U`, found `()`
[INFO] [stdout]    |       |
[INFO] [stdout]    |       implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 12 |         &self.value2;
[INFO] [stdout]    |                     - help: remove this semicolon to return this value
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&U`
[INFO] [stdout]               found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `swapPair` (bin "swapPair") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `swapPair` (bin "swapPair" test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "3bb5b0d0dff4147ef4f28bdf30c7c0ec54ee8e92a6adf88e282e0f69a5a7b94c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bb5b0d0dff4147ef4f28bdf30c7c0ec54ee8e92a6adf88e282e0f69a5a7b94c", kill_on_drop: false }`
[INFO] [stdout] 3bb5b0d0dff4147ef4f28bdf30c7c0ec54ee8e92a6adf88e282e0f69a5a7b94c
